package com.example.service;

import com.example.entity.Menu;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.utils.ResponseResult;
import com.example.vo.MenuVo;

import java.util.List;

/**
* @author sprite-pc
* @description 针对表【sys_menu(菜单权限表)】的数据库操作Service
* @createDate 2023-12-29 12:57:47
*/
public interface MenuService extends IService<Menu> {

    List<String> selectPermsByUserId(Long id);

    List<MenuVo> selectRouterMenuTreeByUserId(Long userId);


    ResponseResult roleMenuTreeselect(Long roleId);

    ResponseResult getList(String menuName, String status);

    ResponseResult deleteMenus(Long id);
}
